@charset "utf-8";
@import "./modules/header";
@import "./modules/footer";
.cartHeader{
    width: 1200px;
    height: 55px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left{
        width: 260px;
        height: 50px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        img{
            width: 120px;
            height: 36px;
        }
        p{
            text-align: center;
            font-size: 25px;
            line-height: 50px;
            margin-left: 10px;
        }
    }
    .right{
        ul{
            width: 400px;
            height: 50px;
            list-style: none;
            display: flex;
            justify-content: space-around;
            align-items: center;
            li{
                font-size: 15px;
                color: rgb(109, 104, 104);
            }
            li:nth-child(1){
                color: #000;
                font-size: 20px;
            }
        }
    }
}
.cartList{
    width: 100%;
    min-height: 1200px;
    background-color:rgb(240, 235, 235);
    margin: 0 auto;
    overflow: hidden;
    .thead{
        ul{
        list-style: none;
        width: 1200px;
        height: 40px;
        margin: 10px auto;
        display: flex;
        justify-content: space-around;
        align-items: center;
        background-color: #fff;
        font-size: 14px;
        color:rgb(109, 104, 104); 
        li:nth-of-type(1){
            width: 150px;
            span{
                margin-left: 20px;
            }
        }
        li:nth-of-type(2){
            width: 300px;
        }
        }
    }
    .tbody{
        ul{
        list-style: none;
        width: 1200px;
        height: 150px;
        margin: 5px auto;
        display: flex;
        justify-content: space-around;
        align-items: top;
        background-color: #fff;
        font-size: 16px;
        color:#000; 
        li{
            margin-top: 30px;
        }
        li:nth-of-type(1){
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 150px;
            margin: 0;
            img{
                width: 120px;
                height: 120px;
                cursor: pointer;
            }
        }
        li:nth-of-type(2){
            width: 300px;
            cursor: pointer;
        }
        li:nth-of-type(5){
            color: red;
        }
        .deleteBtn{
         cursor: pointer;   
        }
        }
    }
}
.sumBox{
    width: 1200px;
    height: 60px;
    background-color: #fff;
    position: fixed;
    left: 30px;
    bottom: 0;
    border-bottom: 1px solid gray;;
    margin: 0 auto;
    display: flex;
    justify-content:flex-end;
    align-items: center;
    .total{
        width: 180px;
        text-align: end;
        b{
            font-weight: 500px;
        }
        span{
            color: red;
            margin-right: 20px;
        }
        p{
            font-size: 12px;
            color: gray;
            text-align: center;
        }
    }
    .counts{
        width: 180px;
        height: 60px;
        text-align: center;
        background-color: red;
        color: #fff;
        font-size: 25px;
        line-height: 60px;
        cursor: pointer;
    }
}
.alert{
    width: 200px;
    height: 100px;
    background-color: gray;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -100px;
    margin-top: -100px;
    opacity: 0.7;
    border-radius: 15px;
    border: 1px solid red;
    text-align: center;
    line-height: 100px;
    font-size: 25px;
    color: red;
    font-weight: 900;
    display: none;
}
